home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / tcl / xf2.3-p / xf2 / xf2.3 / xftutorial / script.xf / expert.scrpt < prev    next >
Encoding:
Text File  |  1993-11-20  |  3.1 KB  |  100 lines

  1. # tutorial
  2. global expertLast
  3. set expertLast 6
  4. global expertLastSectionDone
  5. set expertLastSectionDone -1
  6.  
  7.  
  8. set expertName0 {Advanced features}
  9. set expertText0 {\
  10. Here I will list some of the advanced features.
  11. This list is not complete, and some users may not
  12. agree that these are "advanced" features :-).}
  13.  
  14.  
  15. set expertName1 {Module structure}
  16. set expertText1 {\
  17. This dialog allows you to split the contents of
  18. your application (toplevels and procedures) into
  19. readable pieces. You just add new module names
  20. and place the elements into that modules by
  21. clicking on them. To remove items from a module,
  22. you just click on this item in the module list.
  23.  
  24. There is always one module that has the name
  25. of the application. It contains all toplevels
  26. and procedures, that were not placed in another
  27. module.
  28.  
  29. By selecting the button "Handle Templates" you
  30. can add procedures and ONE widget path to a
  31. template. To save this template press the "Save"
  32. button. This save button can also be used to
  33. save the complete program.}
  34.  
  35.  
  36. set expertName2 {Parameters (widget groups)}
  37. set expertText2 {\
  38. Here you can specify resource values for selected
  39. groups of widgets. You can choose widgets by
  40. selecting them from the left list or by specifying
  41. a "csh" style expression or a regular expression.
  42.  
  43. If the button "Clear permanently" is selected,
  44. the current widget selection is cleared when you
  45. search for an expression. Otherwise the found
  46. widgets are appended to the current selection.
  47.  
  48. To actually set the new resource, you select the
  49. resource name and enter the value. Then you press
  50. the button "Set resource".}
  51.  
  52.  
  53. set expertName3 {Widget tree}
  54. set expertText3 {\
  55. Here you see a list containing the complete widget
  56. tree of your application. The number left from the
  57. widget name is the level of the widget, and the
  58. name right from the "=" is the symbolic name.
  59.  
  60. You can directly set the symbolic name for each
  61. widget, and you can call each dialog that is
  62. related to widgets by selecting the widget and
  63. pressing the popup menu button. This is normally
  64. the mouse button 2, but this can be configured.}
  65.  
  66.  
  67. set expertName4 {Dump tree}
  68. set expertText4 {\
  69. By selecting this menu item, you get a widget tree
  70. dump in a format that can be read by edge. Edge
  71. is a graph layouting and displaying program.}
  72.  
  73.  
  74. set expertName5 {Hardcopies}
  75. set expertText5 {\
  76. Here you can select toplevels and make hardcopies
  77. from them. The hardcopy is made with an external
  78. program, so it is necessary that the window is
  79. visible. You can configure the command that
  80. creates the hardcopy. There are 6 variables you
  81. can use to pass informations to the hardcopy
  82. program.
  83.  
  84. xfId contains the window-id of the toplevel. xfX,
  85. xfY, xfWidth and xfHeight contain the position
  86. and dimension of the toplevel. xfOutputFile
  87. contains the filename to which the hardcopy will
  88. be written.}
  89.  
  90.  
  91. set expertName6 {Security}
  92. set expertText6 {\
  93. To make the development with XF more secure
  94. destructive functions like (destroy and exit)
  95. are not directly available for the developer.
  96. If these functions are called as action of
  97. a button internal procedures get called, so
  98. that you don't destroy your current
  99. application.}
  100.